import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Yemian from '@/components/yemian'
import Geren from '@/components/geren'
import Guanyu from '@/components/guanyu'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/yemian',
      name: 'Yemian',
      component: Yemian
    },
    {
      path: '/geren',
      name: 'Geren',
      component: Geren
    },
    {
      path: '/guanyu',
      name: 'Guanyu',
      component: Guanyu
    }
  ]
})
